#ifndef POLARCOORDINATES_H
#define POLARCOORDINATES_H

#include <utility>
#include <algorithm>
#include <iostream>
#include <cmath>

using namespace std;

class PolarCoordinates
{
private:
   double rad;
   double angle;

public:
    PolarCoordinates() {}
    PolarCoordinates(double rad, double angle);

    pair<double, double> getDecartCoordinates() const;
    void setAngle(double angle);
    double getAngle() const;
    void setRadius(double Radius);
    double getRadius() const;
    void checkInput();

    enum errors {
        wrongData = 0,
        wrongAngle = 1,
        wrongRad = 2
    };
};

#endif // POLARCOORDINATES_H
